<?php
use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
use yii\jui\DatePicker;

?>
<?php $form = ActiveForm::begin(['options' => ['enctype' => 'multipart/form-data']]);?>


<?= $form->field($model, 'username')->label('用户名') ?>

<?= $form->field($model, 'password')->label('密码') ?>
<?= $form->field($model, 'birth')->widget(DatePicker::classname(), [
'language' => 'en',
 'dateFormat' => 'yyyy-MM-dd',
])->label('出生日期') ?>
<?= $form->field($model, 'sex')->radioList(['男'=>'男','女'=>'女'])->label('性别')?>
<?= $form->field($model, 'image[]')->fileInput(['multiple' => true])?>
<?= $form->field($model, 'remark')->textarea()->label('备注')?>




    <div class="form-group">
        <?= Html::submitButton('提交', ['class' => 'btn btn-primary',]) ?>
        <a href="http://localhost/yii/web/index.php" class="btn-primary btn">返回登录</a>


    </div>

<?php ActiveForm::end(); ?>